From 6fd2fba594f611533c46a6a271ee0615e0b46fd7 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Mon, 9 Jan 2012 16:01:44 +0100 Subject: [PATCH] VMX: print Pause Loop Exiting disabled message just once ... rather than per booting CPU. Signed-off-by: Jan Beulich Acked-by: Keir Fraser --- xen/arch/x86/hvm/vmx/vmcs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/hvm/vmx/vmcs.c b/xen/arch/x86/hvm/vmx/vmcs.c index f0af4c4603..fe4527aa75 100644 --- a/xen/arch/x86/hvm/vmx/vmcs.c +++ b/xen/arch/x86/hvm/vmx/vmcs.c @@ -249,7 +249,8 @@ static int vmx_init_vmcs_config(void) if ( (_vmx_secondary_exec_control & SECONDARY_EXEC_PAUSE_LOOP_EXITING) && ple_gap == 0 ) { - printk("Disable Pause-Loop Exiting.\n"); + if ( !vmx_pin_based_exec_control ) + printk(XENLOG_INFO "Disable Pause-Loop Exiting.\n"); _vmx_secondary_exec_control &= ~ SECONDARY_EXEC_PAUSE_LOOP_EXITING; } -- 2.30.2